package com.by.config;

import com.by.eneity.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author LittleDesire
 * @description
 * @date 2022-03-21 周一 10:27
 * @since 17
 */
@Configuration
public class SpringConfig {
    @Bean
    public User  user() {
        User user = new User();
        user.setId(12);
        user.setName("刻晴");
        return user;
    }


}
